package com.ruoyi.environment.mapper;

import java.util.List;
import com.ruoyi.environment.domain.OpmEnvFacilityRecord;

/**
 * 环保维护Mapper接口
 * 
 * @author cjie
 * @date 2021-07-23
 */
public interface OpmEnvFacilityRecordMapper {
    /**
     * 查询环保维护
     * 
     * @param id 环保维护ID
     * @return 环保维护
     */
     OpmEnvFacilityRecord selectOpmEnvFacilityRecordById(Long id);

    /**
     * 查询环保维护列表
     * 
     * @param opmEnvFacilityRecord 环保维护
     * @return 环保维护集合
     */
     List<OpmEnvFacilityRecord> selectOpmEnvFacilityRecordList(OpmEnvFacilityRecord opmEnvFacilityRecord);

    /**
     * 新增环保维护
     * 
     * @param opmEnvFacilityRecord 环保维护
     * @return 结果
     */
     int insertOpmEnvFacilityRecord(OpmEnvFacilityRecord opmEnvFacilityRecord);

    /**
     * 修改环保维护
     * 
     * @param opmEnvFacilityRecord 环保维护
     * @return 结果
     */
     int updateOpmEnvFacilityRecord(OpmEnvFacilityRecord opmEnvFacilityRecord);

    /**
     * 删除环保维护
     * 
     * @param id 环保维护ID
     * @return 结果
     */
     int deleteOpmEnvFacilityRecordById(Long id);

    /**
     * 批量删除环保维护
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
     int deleteOpmEnvFacilityRecordByIds(Long[] ids);
}
